package com.sm.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sm.entity.Teacher;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @author Lenovo
 */
@Repository
public interface TeacherMapper extends BaseMapper<Teacher> {
    /**
     * @param courseId
     * @param studentId
     */
    void deleteCourseStudent(@Param("courseId") Integer courseId, @Param("studentId") Integer studentId);

    /**
     * @param score
     * @param courseId
     * @param studentId
     */
    void updateStudentScore(@Param("score") Integer score, @Param("courseId") Integer courseId, @Param("studentId") Integer studentId);


}